package com.hd.trans.network.apiService;

import com.hd.trans.network.bean.textToSpeech.Text2SpeechResponse;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface TextToSpeechService {

    /**
     * 文字转语音（克隆真人声音）
     */
    @POST("/voice/clone/api/tts")
    Observable<Text2SpeechResponse> textToSpeech(@Body RequestBody requestBody);
}
